﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LINQ_Laboration
{
    public class Order
    {
        public int OrderID { get; set; }
        public DateTime OrderDate { get; set; }
        public decimal Total { get; set; }

        public Order()
        {

        }

        public Order(int orderId, DateTime orderDate, decimal total)
        {
            OrderID = orderId;
            OrderDate = orderDate;
            Total = total;
        }

        public override string ToString()
        {
            return string.Format("OrderId: {0},\r\n OrderDate: {1},\r\n Total: {2}\r\n", OrderID, OrderDate, Total);
        }
    }
}
